
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.Company;
import com.cmc.dao.CompanyDao;

public interface CompanyManager extends Manager {
    /**
     * Retrieves all of the companys
     */
    public List getCompanys(Company company);

    /**
     * Gets company's information based on id.
     * @param id the company's id
     * @return company populated company object
     */
    public Company getCompany(final String id);

    /**
     * Saves a company's information
     * @param company the object to be saved
     */
    public void saveCompany(Company company);

    /**
     * Removes a company from the database by id
     * @param id the company's id
     */
    public void removeCompany(final String id);
}

